package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.qo.DepartmentQuery;
import cn.wolfcode.crm.qo.PageResult;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    void  save(Department department);

    void deleteByPrimaryKey(Long id);

    void updateByPrimaryKey(Department department);

    Department get(Long id);

    List<Department> selectAll();

    PageInfo query(QueryObject qo);
}